home *** CD-ROM | disk | FTP | other *** search
-
-
-
- WAISINDEX(1) UNIX Programmer's Manual WAISINDEX(1)
-
-
-
- NAME
- waisindex - Indexes files
-
- SYNOPSIS
- waisindex [ -d index_filename ] [ -a ] [ -r ]
- [ -mem mbytes ] [ -register ] [ -t type ] [ -export ]
- filename filename ...
-
- DESCRIPTION
- waisindex creates an index of the words in files so that
- they can be searched quickly (see waissearch). The index
- takes about as much disk space as the original text. It
- also creates a new source structure named index_filename.src
- if none exists.
-
- OPTIONS
- -d index_filename
- This is the base filename for the index files.
- Therefore if /usr/local/foo is specified, then the
- index files will be called /usr/local/foo.dct etc.
- The index should be stored on the local file sys-
- tem of the machine running waisindex. It works
- over NFS, but it is much slower.
-
- -a Append this index to an existing one. Useful for
- incremental additions or updates. This will only
- add onto an index, so that if a file has changed,
- it will get reindexed, but the old entries will
- not be purged. Therefore, to save space, it is a
- good idea to reindex the whole set of files
- periodically.
-
- -r Recursively index subdirectories.
-
- -mem How much main memory to use during indexing. This
- variable will have a large effect on how fast
- indexing is done.
-
- -register Register this database with the directory of
- servers. You are encouraged to register data-
- bases, but only ones that will be consistently
- running. The directory of servers is available to
- anyone that is on the internet or can phone in.
-
- -t type This is the format of files that are handled by
- waisindex. It is easy to parse a different for-
- mat, but that has to be done by changing the
- source (ircfiles.c). To find out the list of
- currently known types, execute the waisindex com-
- mand with no arguments and it will list them.
-
- -export This causes the resulting source description file
- to include the host-name and tcp-port for use by
- the clients. Otherwise the file contains no con-
- nection information, and is expected to be used
- only for local searches.
-
-
-
- SEE ALSO
- waissearch(1), waisserver(1), waissearch-gmacs(1), xwais(1),
- xwaisq(1)
-
- Wide Area Information Servers Concepts by Brewster Kahle.
- Brewster@think.com
-
-
- DIAGNOSTICS
- The diagnostics produced by the waisindex is meant to be
- self-explanatory.
-
-
- BUGS
- It temporarily takes twice the space it needs for an index.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-